//
//  PBLoginOutCell.m
//  PBHomeDemo
//
//  Created by Playboy on 2017/12/20.
//  Copyright © 2017年 tmkj. All rights reserved.
//

#import "PBLoginOutCell.h"

@interface PBLoginOutCell ()
@property (weak, nonatomic) IBOutlet UIView *loginOutView;

@end


@implementation PBLoginOutCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
//    self.loginOutView.layer.borderColor = [UIColor lightGrayColor].CGColor;
//    self.loginOutView.layer.shadowOpacity = 0.2f;
//    self.loginOutView.layer.shadowOffset = CGSizeMake(0,2);
}
- (IBAction)loginOutButtonClick:(UIButton *)sender {
//    PBLoginViewController *vc = [[PBLoginViewController alloc] init];
//    TMNavViewController *nav = [[TMNavViewController alloc] initWithRootViewController:vc];
//    self.window.rootViewController = nav;
    [kUserDefaults removeObjectForKey:@"token"];
    [self.jumpVC.navigationController popViewControllerAnimated:YES];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
